import request from '@/utils/request'

// 查询财务资金调拨审批列表
export function listFinance(query) {
  return request({
    url: '/module/Finance/list',
    method: 'get',
    params: query
  })
}

// 查询财务资金调拨审批详细
export function getFinance(id) {
  return request({
    url: '/module/Finance/' + id,
    method: 'get'
  })
}

// 新增财务资金调拨审批
export function addFinance(data) {
  return request({
    url: '/module/Finance',
    method: 'post',
    data: data
  })
}

// 修改财务资金调拨审批
export function updateFinance(data) {
  return request({
    url: '/module/Finance',
    method: 'put',
    data: data
  })
}

// 删除财务资金调拨审批
export function delFinance(id) {
  return request({
    url: '/module/Finance/' + id,
    method: 'delete'
  })
}
